var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var userSchema = new Schema({
    username: {type:String},//用户名
    sex: {//性别
        type: Number,
        default: 0,
    },
    phone: Number,//手机号码
    head_photo: {
        type: String,
        default: 'images/detail/default.png'
    },
    pay_type: {//支付方式
        wx: { type: String, default: '' },
        zfb: { type: String, default: '' }
    }
});
module.exports = userSchema